package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.HospitalSubscribeGroupPurchaseOrder;
import com.ruoyi.system.domain.vo.HospitalSubscribeGroupPurchaseOrderVo;
import org.apache.ibatis.annotations.Param;

/**
 * 团队订单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-12
 */
public interface HospitalSubscribeGroupPurchaseOrderMapper 
{
    /**
     * 查询团队订单
     * 
     * @param id 团队订单主键
     * @return 团队订单
     */
    public HospitalSubscribeGroupPurchaseOrder selectHospitalSubscribeGroupPurchaseOrderById(Long id);

    /**
     * 查询团队订单列表
     * 
     * @param hospitalSubscribeGroupPurchaseOrder 团队订单
     * @return 团队订单集合
     */
    public List<HospitalSubscribeGroupPurchaseOrder> selectHospitalSubscribeGroupPurchaseOrderList(HospitalSubscribeGroupPurchaseOrder hospitalSubscribeGroupPurchaseOrder);

    /**
     * 新增团队订单
     * 
     * @param hospitalSubscribeGroupPurchaseOrder 团队订单
     * @return 结果
     */
    public int insertHospitalSubscribeGroupPurchaseOrder(HospitalSubscribeGroupPurchaseOrder hospitalSubscribeGroupPurchaseOrder);

    /**
     * 修改团队订单
     * 
     * @param hospitalSubscribeGroupPurchaseOrder 团队订单
     * @return 结果
     */
    public int updateHospitalSubscribeGroupPurchaseOrder(HospitalSubscribeGroupPurchaseOrder hospitalSubscribeGroupPurchaseOrder);

    /**
     * 删除团队订单
     * 
     * @param id 团队订单主键
     * @return 结果
     */
    public int deleteHospitalSubscribeGroupPurchaseOrderById(Long id);

    /**
     * 批量删除团队订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHospitalSubscribeGroupPurchaseOrderByIds(Long[] ids);

    /**
     * 团队订单详情
     * @param hospitalSubscribeGroupPurchaseOrder
     * @return
     */
    HospitalSubscribeGroupPurchaseOrderVo getGroupPurchaseOrderInfo(@Param("info")HospitalSubscribeGroupPurchaseOrder hospitalSubscribeGroupPurchaseOrder);
}
